package com.ljx.rag.common.domain.vo.req;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: LiJunXi
 * @Description: 游标分页请求
 * @Date: 2024-03-26  09:46
 */
@Data
public class CursorReq {

    @ApiModelProperty("游标")
    private String cursor;

    @ApiModelProperty("每页大小")
    private Integer pageSize;

    public Page plusPage() {
        return new Page(1, this.pageSize, false);
    }

}
